//
//  ZZMessageItemCell.h
//  QQplayground
//
//  Created by zhangxy on 2018/8/16.
//  Copyright © 2018年 zhang. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ZCTTMLEmojiLabel.h"
#import "MessageDetailEntity.h"
#import "ZZTopicCellDelegate.h"

@protocol  ZZMessageItemCellDelegate <NSObject>

-(void)onItemReply:(MessageDetailEntity *) senderObj;

-(void)onCellOpenClick:(id) sender;

@end


@interface ZZMessageItemCell : UITableViewCell

@property (weak, nonatomic) IBOutlet UIImageView *imgDot;

@property (weak, nonatomic) IBOutlet UIImageView *imgAvatar;
@property (weak, nonatomic) IBOutlet UIImageView *imgDesc;

//@property (weak, nonatomic) IBOutlet UILabel *labTitle;
@property (weak, nonatomic) IBOutlet TTTAttributedLabel *labTitle;

@property (weak, nonatomic) IBOutlet ZCTTMLEmojiLabel *labMessage;

@property (weak, nonatomic) IBOutlet ZCTTMLEmojiLabel *labDesc;

@property (weak, nonatomic) IBOutlet UILabel *labTime;

@property (weak, nonatomic) IBOutlet UIButton *btnReply;

@property(nonatomic,strong) id<ZZMessageItemCellDelegate> delegate;
@property(nonatomic,strong) MessageDetailEntity *tempModel;

-(void)dataToView:(MessageDetailEntity *) entity;

@end
